Optimal. Leaf size=48 \[ -\frac {A \left (a+b x^2\right )^6}{14 a x^{14}}+\frac {(A b-7 a B) \left (a+b x^2\right )^6}{84 a^2 x^{12}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {457, 79, 37}
\begin {gather*} \frac {\left (a+b x^2\right )^6 (A b-7 a B)}{84 a^2 x^{12}}-\frac {A \left (a+b x^2\right )^6}{14 a x^{14}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 79
Rule 457
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^{15}} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {(a+b x)^5 (A+B x)}{x^8} \, dx,x,x^2\right )\\ &=-\frac {A \left (a+b x^2\right )^6}{14 a x^{14}}+\frac {(-A b+7 a B) \text {Subst}\left (\int \frac {(a+b x)^5}{x^7} \, dx,x,x^2\right )}{14 a}\\ &=-\frac {A \left (a+b x^2\right )^6}{14 a x^{14}}+\frac {(A b-7 a B) \left (a+b x^2\right )^6}{84 a^2 x^{12}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(118\) vs. \(2(48)=96\).
time = 0.02, size = 118, normalized size = 2.46 \begin {gather*} -\frac {21 b^5 x^{10} \left (A+2 B x^2\right )+35 a b^4 x^8 \left (2 A+3 B x^2\right )+35 a^2 b^3 x^6 \left (3 A+4 B x^2\right )+21 a^3 b^2 x^4 \left (4 A+5 B x^2\right )+7 a^4 b x^2 \left (5 A+6 B x^2\right )+a^5 \left (6 A+7 B x^2\right )}{84 x^{14}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(103\) vs.
\(2(44)=88\).
time = 0.07, size = 104, normalized size = 2.17
method | result | size |
default | \(-\frac {a^{5} A}{14 x^{14}}-\frac {b^{4} \left (A b +5 B a \right )}{4 x^{4}}-\frac {a^{4} \left (5 A b +B a \right )}{12 x^{12}}-\frac {5 a \,b^{3} \left (A b +2 B a \right )}{6 x^{6}}-\frac {b^{5} B}{2 x^{2}}-\frac {5 a^{2} b^{2} \left (A b +B a \right )}{4 x^{8}}-\frac {a^{3} b \left (2 A b +B a \right )}{2 x^{10}}\) | \(104\) |
norman | \(\frac {-\frac {a^{5} A}{14}+\left (-\frac {5}{12} a^{4} b A -\frac {1}{12} a^{5} B \right ) x^{2}+\left (-a^{3} b^{2} A -\frac {1}{2} a^{4} b B \right ) x^{4}+\left (-\frac {5}{4} a^{2} b^{3} A -\frac {5}{4} a^{3} b^{2} B \right ) x^{6}+\left (-\frac {5}{6} a \,b^{4} A -\frac {5}{3} a^{2} b^{3} B \right ) x^{8}+\left (-\frac {1}{4} b^{5} A -\frac {5}{4} a \,b^{4} B \right ) x^{10}-\frac {b^{5} B \,x^{12}}{2}}{x^{14}}\) | \(122\) |
risch | \(\frac {-\frac {a^{5} A}{14}+\left (-\frac {5}{12} a^{4} b A -\frac {1}{12} a^{5} B \right ) x^{2}+\left (-a^{3} b^{2} A -\frac {1}{2} a^{4} b B \right ) x^{4}+\left (-\frac {5}{4} a^{2} b^{3} A -\frac {5}{4} a^{3} b^{2} B \right ) x^{6}+\left (-\frac {5}{6} a \,b^{4} A -\frac {5}{3} a^{2} b^{3} B \right ) x^{8}+\left (-\frac {1}{4} b^{5} A -\frac {5}{4} a \,b^{4} B \right ) x^{10}-\frac {b^{5} B \,x^{12}}{2}}{x^{14}}\) | \(122\) |
gosper | \(-\frac {42 b^{5} B \,x^{12}+21 A \,b^{5} x^{10}+105 B a \,b^{4} x^{10}+70 a A \,b^{4} x^{8}+140 B \,a^{2} b^{3} x^{8}+105 a^{2} A \,b^{3} x^{6}+105 B \,a^{3} b^{2} x^{6}+84 a^{3} A \,b^{2} x^{4}+42 B \,a^{4} b \,x^{4}+35 a^{4} A b \,x^{2}+7 B \,a^{5} x^{2}+6 a^{5} A}{84 x^{14}}\) | \(128\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 121 vs.
\(2 (45) = 90\).
time = 0.32, size = 121, normalized size = 2.52 \begin {gather*} -\frac {42 \, B b^{5} x^{12} + 21 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{10} + 70 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{8} + 105 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{6} + 6 \, A a^{5} + 42 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{4} + 7 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x^{2}}{84 \, x^{14}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 121 vs.
\(2 (45) = 90\).
time = 0.77, size = 121, normalized size = 2.52 \begin {gather*} -\frac {42 \, B b^{5} x^{12} + 21 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{10} + 70 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{8} + 105 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{6} + 6 \, A a^{5} + 42 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{4} + 7 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x^{2}}{84 \, x^{14}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 134 vs.
\(2 (41) = 82\).
time = 134.48, size = 134, normalized size = 2.79 \begin {gather*} \frac {- 6 A a^{5} - 42 B b^{5} x^{12} + x^{10} \left (- 21 A b^{5} - 105 B a b^{4}\right ) + x^{8} \left (- 70 A a b^{4} - 140 B a^{2} b^{3}\right ) + x^{6} \left (- 105 A a^{2} b^{3} - 105 B a^{3} b^{2}\right ) + x^{4} \left (- 84 A a^{3} b^{2} - 42 B a^{4} b\right ) + x^{2} \left (- 35 A a^{4} b - 7 B a^{5}\right )}{84 x^{14}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 127 vs.
\(2 (45) = 90\).
time = 1.10, size = 127, normalized size = 2.65 \begin {gather*} -\frac {42 \, B b^{5} x^{12} + 105 \, B a b^{4} x^{10} + 21 \, A b^{5} x^{10} + 140 \, B a^{2} b^{3} x^{8} + 70 \, A a b^{4} x^{8} + 105 \, B a^{3} b^{2} x^{6} + 105 \, A a^{2} b^{3} x^{6} + 42 \, B a^{4} b x^{4} + 84 \, A a^{3} b^{2} x^{4} + 7 \, B a^{5} x^{2} + 35 \, A a^{4} b x^{2} + 6 \, A a^{5}}{84 \, x^{14}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 121, normalized size = 2.52 \begin {gather*} -\frac {\frac {A\,a^5}{14}+x^4\,\left (\frac {B\,a^4\,b}{2}+A\,a^3\,b^2\right )+x^8\,\left (\frac {5\,B\,a^2\,b^3}{3}+\frac {5\,A\,a\,b^4}{6}\right )+x^2\,\left (\frac {B\,a^5}{12}+\frac {5\,A\,b\,a^4}{12}\right )+x^{10}\,\left (\frac {A\,b^5}{4}+\frac {5\,B\,a\,b^4}{4}\right )+x^6\,\left (\frac {5\,B\,a^3\,b^2}{4}+\frac {5\,A\,a^2\,b^3}{4}\right )+\frac {B\,b^5\,x^{12}}{2}}{x^{14}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________